home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / misc / medical / mendelge.cpt / MendelGenetics / MENDELIAN GENETICS I / card_118870.txt < prev    next >
Text File  |  1989-06-13  |  3KB  |  123 lines

  1. -- card: 118870 from stack: in
  2. -- bmap block id: 120055
  3. -- flags: 0000
  4. -- background id: 2665
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (field)
  9. -- low flags: 00
  10. -- high flags: 0004
  11. -- rect: left=264 top=56 right=78 bottom=321
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 128
  16. -- text size: 10
  17. -- style flags: 256
  18. -- line height: 13
  19. -- part name: SCORE
  20.  
  21.  
  22. -- part 2 (button)
  23. -- low flags: 00
  24. -- high flags: 8003
  25. -- rect: left=266 top=89 right=111 bottom=366
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 1
  29. -- font id: 0
  30. -- text size: 12
  31. -- style flags: 0
  32. -- line height: 16
  33. -- part name: SCORE
  34. ----- HyperTalk script -----
  35. on mouseUp
  36.   global correct
  37.   global guess
  38.   global tally
  39.   set numberFormat to "000.00"
  40.   put the value of (( correct / guess ) * 100) into card field score
  41.   put the value of card field score into tally
  42.   put the value of card field score into grade
  43.   go to card ID 114326
  44.   put the value of grade into card field scoretwo
  45. end mouseUp
  46.  
  47.  
  48.  
  49. -- part 3 (button)
  50. -- low flags: 00
  51. -- high flags: 8003
  52. -- rect: left=267 top=117 right=139 bottom=367
  53. -- title width / last selected line: 0
  54. -- icon id / first selected line: 0 / 0
  55. -- text alignment: 1
  56. -- font id: 0
  57. -- text size: 12
  58. -- style flags: 0
  59. -- line height: 16
  60. -- part name: RETEST
  61. ----- HyperTalk script -----
  62. on mouseUp
  63.   delete line 1 of card field score
  64.   global tally
  65.   put 0 into tally
  66.   global guess
  67.   put 0 into guess
  68.   global correct
  69.   put 0 into correct
  70.   go to card id 53000
  71. end mouseUp
  72.  
  73.  
  74.  
  75. -- part 4 (button)
  76. -- low flags: 00
  77. -- high flags: 8003
  78. -- rect: left=205 top=315 right=337 bottom=256
  79. -- title width / last selected line: 0
  80. -- icon id / first selected line: 0 / 0
  81. -- text alignment: 1
  82. -- font id: 0
  83. -- text size: 12
  84. -- style flags: 0
  85. -- line height: 16
  86. -- part name: NEXT
  87. ----- HyperTalk script -----
  88. on mouseUp
  89.   go to next card
  90. end mouseUp
  91.  
  92.  
  93.  
  94. -- part 5 (button)
  95. -- low flags: 00
  96. -- high flags: 8003
  97. -- rect: left=149 top=314 right=337 bottom=199
  98. -- title width / last selected line: 0
  99. -- icon id / first selected line: 0 / 0
  100. -- text alignment: 1
  101. -- font id: 0
  102. -- text size: 12
  103. -- style flags: 0
  104. -- line height: 16
  105. -- part name: PREV.
  106. ----- HyperTalk script -----
  107. on mouseUp
  108.   go back
  109. end mouseUp
  110.  
  111.  
  112.  
  113. -- part contents for background part 1
  114. ----- text -----
  115. QUIZ
  116.  
  117. -- part contents for background part 2
  118. ----- text -----
  119. Click on the SCORE button to determine how well you have done to this point in the quiz. The score is computed on the number of correct answers divided by the number of incorrect selections you made during the time you took this quiz.
  120.  
  121. -- part contents for card part 1
  122. ----- text -----
  123. 000.00